package com.example.demo.service.tos;

import java.util.List;

import com.example.demo.domain.service.Service;
import com.example.demo.domain.tos.Tos;

public interface TosService {
    int deleteByPrimaryKey(Integer tos_id);

    int insert(Tos record);

    int insertSelective(Tos record);

    Tos selectByPrimaryKey(Integer tos_id);

    int updateByPrimaryKeySelective(Tos record);

    int updateByPrimaryKey(Tos record);

    //以下是新增的方法
    List<Tos> selectTosList(Tos tos);

    int deleteTosByIds(String[] ids);

    int selectCountByTosId(Integer id);

    List<Tos> getTosTree();


}
